﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.events {
    import flash.events.*;

    public class GameEvent extends Event {

        public var resType:String;

        public static const LOADED_RESOURCES_CHANGED:String = "loaded_resources_changed";
        public static const START_GAME:String = "start_game";
        public static const CREATE_GAME_WORLD:String = "create_game_world";
        public static const CREATE_BUILDING_AND_ENTITIES:String = "create_building_and_entities";
        public static const GAMESTATE_CHANGE:String = "gamestate_change";
        public static const TUTORIAL_STATE_CHANGE:String = "tutorial_state_change";
        public static const TUTORIAL_STATE_INITIALIZE:String = "tutorial_state_initiliaze";
        public static const LEVEL_UP:String = "level_up";

        public function GameEvent(_arg1:String, _arg2:String=null, _arg3:Boolean=false, _arg4:Boolean=false){
            super(_arg1, _arg3, _arg4);
            this.resType = _arg2;
        }
        override public function clone():Event{
            return (new GameEvent(type));
        }

    }
}//package net.wooga.pets.events 
